package io.vector.study.concurrent.volatiles;

/**
 * Created by vector on 2017/4/26.
 */
public class InstructOrder {

    int a, b;

    volatile int c, d;

    private void test() {
        a = 1;
        b = 2;
        c = 3;
        d = 4;
        b = 3;
        c = 5;
    }

    public static void main(String... args) {
        InstructOrder order = new InstructOrder();
        order.test();
    }

}
